package com.kayt.cyberBar.cpublic.business.entity.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * CPublicDepart entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "c_public_depart")
public class CPublicDepart implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6696985325402424607L;
	// Fields

	private Long id;
	private String departCode;
	private String departName;
	private String createTime;
	private String updateTime;
	private String statusCode;

	// Constructors

	/** default constructor */
	public CPublicDepart() {
	}

	/** full constructor */
	public CPublicDepart(String departCode, String departName,
			String createTime, String updateTime, String statusCode) {
		this.departCode = departCode;
		this.departName = departName;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.statusCode = statusCode;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "ID", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "DEPART_CODE", length = 64)
	public String getDepartCode() {
		return this.departCode;
	}

	public void setDepartCode(String departCode) {
		this.departCode = departCode;
	}

	@Column(name = "DEPART_NAME", length = 64)
	public String getDepartName() {
		return this.departName;
	}

	public void setDepartName(String departName) {
		this.departName = departName;
	}

	@Column(name = "CREATE_TIME", length = 64)
	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	@Column(name = "UPDATE_TIME", length = 64)
	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "STATUS_CODE", length = 64)
	public String getStatusCode() {
		return this.statusCode;
	}

	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}

}